<template>
	<div>
		 <uni-list>
			 <uni-list-item 
			 v-for="item in list" 
			 title="对局详情" 
			 :note="item.gameTime" 
			 thumb="https://hzz.zysclub.com.cn/images/mj1.png"
			 thumb-size="lg" 
			 link="navigateTo" 
			 :to="'../../infoList/infoList?gameTime=' +item.gameTime+'&gameNumber='+item.gameNumber"
			 :rightText="'第'+item.gameNumber+'局'">
			</uni-list-item>
		</uni-list>
	</div>
</template>

<script>
export default {
	data() {
		return {
			title: 'Hello',
			list:[]
		};
	},
	created() {
		this.selectDetailMatch();
	},
	onLoad() {},
	methods: {
		selectDetailMatch() {
			this.$u.api.selectDetailMatch().then((res)=>{
				this.list = res.rows
			}).catch((error)=>{
				console.log(error);
			});
		}
	}
};
</script>

<style>
.content {
	text-align: center;
	height: 400upx;
	margin-top: 200upx;
}
</style>
